package com.xiaoyy.app.extend.integration.impl;

import cn.hutool.http.HttpUtil;
import com.xiaoyy.app.extend.integration.TzZzdwebIntegration;
import org.springframework.stereotype.Service;

/**
 * 天正浙政钉应用相关接口
 */
@Service
public class TzZzdwebIntegrationImpl implements TzZzdwebIntegration {
    /**
     * 天正浙政钉应用鉴权接口
     * @return
     */
    public String getAccessToken(){
        String url = "https://zzd.rsj.jinhua.gov.cn/zzdweb/api/appAccess/getAccess_token";
        String body = HttpUtil.get(url);
        return body;
    }
}
